using System.ComponentModel.DataAnnotations;

namespace UniversalAdmin.Application.DTOs;

public class UpdateProfileDto
{
  [Required(ErrorMessage = "邮箱不能为空")]
  [EmailAddress(ErrorMessage = "邮箱格式不正确")]
  public string Email { get; set; } = null!;

  public string? Phone { get; set; }

  public string? Avatar { get; set; }
}
